-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update deployment_id
in ML trained model deployment start request
#2325
Conversation
deployment_id
parameter in ml.start_trained_model_deployment
requestdeployment_id
in ML trained model deployment start/stop request
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM but did you forget to run make contrib
?
@davidkyle
Looks like the JSON spec is not up to date and I don't know what's the proper way to update it. 😞 |
deployment_id
in ML trained model deployment start/stop requestdeployment_id
in ML trained model deployment start/stop request
deployment_id
in ML trained model deployment start/stop requestdeployment_id
in ML trained model deployment start/stop request
Hey @dolaru, the check is complaining that https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/ml.stop_trained_model_deployment.json does not contain I'm also wondering if the same applies to |
@davidkyle can I leave this with you please?
@pquentin for the
For the |
03ad6b0
to
4b2da88
Compare
This is correct but if renaming the path parameter breaks the client I think we should rely on documentation to state it should be the deployment Id. @pquentin is it possible to deprecate the The change to the start deployment API is good and necessary as without it a user cannot deploy a model multiple times. @dolaru do you want to take the Stop API change out of this PR and just merge the Start API change? That way we have made some progress while we figure out the stop issue. |
deployment_id
in ML trained model deployment start/stop requestdeployment_id
in ML trained model deployment start request
Done ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I don't know why the elasticsearch-serverless-openapi.json change has appeared in this PR
Probably because I didn't run |
Following you can find the validation results for the API you have changed.
You can validate this API yourself by using the |
…2325) This adds the missing `deployment_id` query parameter to the `_start` request, that was introduced in v8.8.0. [Docs](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/start-trained-model-deployment.html#start-trained-model-deployment-query-params) say: > deployment_id > (Optional, string) A unique identifier for the deployment of the model. (cherry picked from commit e627f16)
…2325) This adds the missing `deployment_id` query parameter to the `_start` request, that was introduced in v8.8.0. [Docs](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/start-trained-model-deployment.html#start-trained-model-deployment-query-params) say: > deployment_id > (Optional, string) A unique identifier for the deployment of the model. (cherry picked from commit e627f16)
…2325) This adds the missing `deployment_id` query parameter to the `_start` request, that was introduced in v8.8.0. [Docs](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/start-trained-model-deployment.html#start-trained-model-deployment-query-params) say: > deployment_id > (Optional, string) A unique identifier for the deployment of the model. (cherry picked from commit e627f16)
…2325) This adds the missing `deployment_id` query parameter to the `_start` request, that was introduced in v8.8.0. [Docs](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/start-trained-model-deployment.html#start-trained-model-deployment-query-params) say: > deployment_id > (Optional, string) A unique identifier for the deployment of the model. (cherry picked from commit e627f16)
…2325) (#2336) This adds the missing `deployment_id` query parameter to the `_start` request, that was introduced in v8.8.0. [Docs](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/start-trained-model-deployment.html#start-trained-model-deployment-query-params) say:
…2325) (#2335) This adds the missing `deployment_id` query parameter to the `_start` request, that was introduced in v8.8.0. [Docs](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/start-trained-model-deployment.html#start-trained-model-deployment-query-params) say:
…2325) (#2334) This adds the missing `deployment_id` query parameter to the `_start` request, that was introduced in v8.8.0. [Docs](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/start-trained-model-deployment.html#start-trained-model-deployment-query-params) say:
…2325) (#2333) This adds the missing `deployment_id` query parameter to the `_start` request, that was introduced in v8.8.0. [Docs](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/start-trained-model-deployment.html#start-trained-model-deployment-query-params) say:
This adds the missing
deployment_id
query parameter to the_start
request, that was introduced in v8.8.0.Docs say: